.class Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter$AlbumOnClickListener;
.super Ljava/lang/Object;
.source "AlbumHistoryActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "AlbumOnClickListener"
.end annotation


# instance fields
.field albumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

.field final synthetic this$1:Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;Lcom/brixd/niceapp/model/AlbumHolderModel;)V
    .registers 3
    .param p1, "this$1"    # Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;
    .param p2, "albumHolderModel"    # Lcom/brixd/niceapp/model/AlbumHolderModel;

    .prologue
    .line 343
    iput-object p1, p0, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter$AlbumOnClickListener;->this$1:Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 344
    iput-object p2, p0, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter$AlbumOnClickListener;->albumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    .line 345
    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 349
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter$AlbumOnClickListener;->this$1:Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;

    iget-object v1, v1, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;->this$0:Lcom/brixd/niceapp/activity/AlbumHistoryActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/AlbumHistoryActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    const-string v2, "album_history_click"

    iget-object v3, p0, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter$AlbumOnClickListener;->albumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    iget-object v3, v3, Lcom/brixd/niceapp/model/AlbumHolderModel;->albumTitle:Ljava/lang/String;

    invoke-static {v1, v2, v3}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 351
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter$AlbumOnClickListener;->this$1:Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;

    iget-object v1, v1, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;->this$0:Lcom/brixd/niceapp/activity/AlbumHistoryActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/AlbumHistoryActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/activity/AppAlbumActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 352
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "album_holder_model"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter$AlbumOnClickListener;->albumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 353
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter$AlbumOnClickListener;->this$1:Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;

    iget-object v1, v1, Lcom/brixd/niceapp/activity/AlbumHistoryActivity$AlbumAdapter;->this$0:Lcom/brixd/niceapp/activity/AlbumHistoryActivity;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/activity/AlbumHistoryActivity;->startActivity(Landroid/content/Intent;)V

    .line 354
    return-void
.end method
